/*
 * Description: 报价material调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/04/14 02:42
 */

import { httpPost } from '../../utils/axios-utils'

export function materialList(obj, authConfig) {
  return httpPost('/smart-cost/quote/material/list', obj, authConfig)
}

export function materialPageList(obj, authConfig) {
  return httpPost('/smart-cost/quote/material/pageList', obj, authConfig)
}

export function materialAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/material/add', obj, authConfig)
}

export function materialEdit(obj, authConfig) {
  return httpPost('/smart-cost/quote/material/edit', obj, authConfig)
}

export function materialDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/material/delete', obj, authConfig)
}
